package com.example.jd.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.jd.finance.entity.MsWechatIncreaseCustomerDetails;
import com.example.jd.finance.entity.param.MsQueryEnterpriseWechatCodePageParam;
import com.example.jd.finance.entity.vo.MsCustomerRecordsVO;
import com.example.jd.finance.entity.vo.MsQueryDetailCountVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2021-11-06
 */
public interface MsWechatIncreaseCustomerDetailsMapper extends BaseMapper<MsWechatIncreaseCustomerDetails> {

    long queryApplyNumCurrentDayByE();

    long queryApplyPassedNumCurrentDayByE();

    long queryCountApplyNumByE();

    long queryCountApplyPassedNumByE();

    List<MsQueryDetailCountVO> queryEnterpriseWechatCodePage(Page page, @Param("param") MsQueryEnterpriseWechatCodePageParam param);

    long queryEnterpriseWechatCodePageTotal(@Param("param") MsQueryEnterpriseWechatCodePageParam param);

    List<MsQueryDetailCountVO> queryEnterpriseWechatCodeExcel(@Param("param") MsQueryEnterpriseWechatCodePageParam param);
}
